package com.boyi.db.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "`bss_law_info`")
public class BssLawInfo {
    /**
     * id
     */
    @Id
    @Column(name = "`law_id`")
    private Integer lawId;

    /**
     * 法律法规名称
     */
    @Column(name = "`law_name`")
    private String lawName;

    /**
     * 获取id
     *
     * @return law_id - id
     */
    public Integer getLawId() {
        return lawId;
    }

    /**
     * 设置id
     *
     * @param lawId id
     */
    public void setLawId(Integer lawId) {
        this.lawId = lawId;
    }

    /**
     * 获取法律法规名称
     *
     * @return law_name - 法律法规名称
     */
    public String getLawName() {
        return lawName;
    }

    /**
     * 设置法律法规名称
     *
     * @param lawName 法律法规名称
     */
    public void setLawName(String lawName) {
        this.lawName = lawName == null ? null : lawName.trim();
    }
}